package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.MaterialConvolutionLogDao;
import com.liuxinlong.modules.entity.MaterialConvolutionLog;
import com.liuxinlong.modules.mapper.MaterialConvolutionLogMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 物料成本卷积日志dao实现
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年7月6日
 */
@Service
public class MaterialConvolutionLogDaoImpl extends ServiceImpl<MaterialConvolutionLogMapper, MaterialConvolutionLog> implements MaterialConvolutionLogDao {

    @Override
    public List<MaterialConvolutionLog> pageConvolutionLogList(Map<String, Object> queryParam) {
        return baseMapper.pageConvolutionLogList(queryParam);
    }

    @Override
    public int getConvolutionLogCount(Map<String, Object> queryParam) {
        return baseMapper.getConvolutionLogCount(queryParam);
    }

    @Override
    public int getCurrentSort(String id) {
        return baseMapper.getCurrentSort(id);
    }

    @Override
    public MaterialConvolutionLog getLogByRecordId(String recordId) {
        return baseMapper.getLogByRecordId(recordId);
    }

    @Override
    public List<MaterialConvolutionLog> getProcessList(String convolutionId) {
        return baseMapper.getProcessList(convolutionId);
    }

}
